home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Together in Jesus: 1st Reconciliation Computer Fun
/
Together in Jesus - First Reconciliation - Computer Fun.iso
/
euch5.swf
/
scripts
/
frame_11
/
DoAction.as
Wrap
Text File
|
2007-11-18
|
980b
|
46 lines
this.altar_mc.onPress = function()
{
this.startDrag();
};
this.altar_mc.onRelease = function()
{
this.stopDrag();
if(this.hitTest(target3b_mc) == true)
{
soundCheering1.start();
gotoAndStop(12);
tryagain_mc._visible = false;
}
else
{
soundSlowbomb.start();
altar_mc._y = altartarget_mc._y;
altar_mc._x = altartarget_mc._x;
tryagain_mc._visible = true;
}
};
this.organ2_mc.onPress = function()
{
this.startDrag();
};
this.organ2_mc.onRelease = function()
{
this.stopDrag();
soundSlowbomb.start();
organ2_mc._y = organ2target_mc._y;
organ2_mc._x = organ2target_mc._x;
tryagain_mc._visible = true;
};
this.bible_mc.onPress = function()
{
this.startDrag();
};
this.bible_mc.onRelease = function()
{
this.stopDrag();
soundSlowbomb.start();
bible_mc._y = bibletarget_mc._y;
bible_mc._x = bibletarget_mc._x;
tryagain_mc._visible = true;
};